<?php
/**
* @package   auto_occasion
* @subpackage formule
* @author    your name
* @copyright 2011 your name
* @link      http://www.yourwebsite.undefined
* @license    All rights reserved
*/

class listeVersionZone extends jZone {
    protected $_tplname='listeVersion.zone';

    protected function _prepareTpl(){
        
        jClasses::inc("essais~versionSrv");
        $essaiId = $this->param('id');
        $version = versionSrv::getByEssaiId($essaiId) ;
        $this->_tpl->assign('version', $version);
    }
}
